package com.k7.mobile.platform.dataobject;

import java.util.Date;

public class LogDO extends BaseDO {
	
	private static final long serialVersionUID = -6375819557854521099L;
	
	private Long id;
	private Long userId;		//用户id
	private Long targetId;	//操作对象id
	private String targetName;		//操作对象名称
	private Integer logType;	//日志类型: 0-吧、1-帖子、2-其它
	private Integer optType;	//操作类型: 0-创建、1-修改、2-删除、3-置顶、4-加精
	private String opComment;	//操作备注
	private Date createTime;	//创建时间
	
	private Date beginTime;	//查询开始时间
	private Date endTime;	//查询结束时间
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	
	public Long getTargetId() {
		return targetId;
	}
	public void setTargetId(Long targetId) {
		this.targetId = targetId;
	}
	public String getTargetName() {
		return targetName;
	}
	public void setTargetName(String targetName) {
		this.targetName = targetName;
	}
	public Integer getLogType() {
		return logType;
	}
	public void setLogType(Integer logType) {
		this.logType = logType;
	}
	public Integer getOptType() {
		return optType;
	}
	public void setOptType(Integer optType) {
		this.optType = optType;
	}
	public String getOpComment() {
		return opComment;
	}
	public void setOpComment(String opComment) {
		this.opComment = opComment;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getBeginTime() {
		return beginTime;
	}
	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	
	public String getOptTypeStr(){		
		return "";
	}
	
	public String getLogTypeStr(){
		
		return "";
	}
	@Override
	public String genCacheKey() {
		// TODO Auto-generated method stub
		return null;
	}
}
